<template>
<h1>事件指令绑定</h1>
  <button @click="">按钮1</button>
  <button v-on:click="">按钮2</button>
</template>
<script setup>
console.log("点我");
</script>


<style scoped>

</style>